﻿using System.ComponentModel.DataAnnotations;

namespace ManagementApi.Models.Manage.ProjectSpecialAccount
{
    public class ProjectSpecialAccountEditForm
    {
        /// <summary>
        /// author:hzj
        /// date:2023/11/8
        ///</summary>
        public int? Id { get; set; }

        /// <summary>
        /// 开户银行
        ///</summary>
        [Display(Name = "开户银行")]
        public string? BankType { get; set; }

        /// <summary>
        /// 开户银行
        ///</summary>
        [Display(Name = "开户银行")]
        public string? BankName { get; set; }

        /// <summary>
        /// 编号
        ///</summary>
        [Display(Name = "编号")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string? Code { get; set; }

        /// <summary>
        /// 开户支行
        ///</summary>
        [Display(Name = "编号")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string? BankSubbranch { get; set; }

        ///// <summary>
        ///// 流水号
        /////</summary>
        //[Display(Name = "流水号")]
        //[Required(ErrorMessage = "{0}不能为空")]
        //public int SerialNumber { get; set; }
        ///// <summary>
        ///// 开户日期
        /////</summary>
        //[Display(Name = "开户日期")]
        //public DateTime? OpenDate { get; set; }
    }
}